package com.bridgeintelligent.tag.webserver.dim.mgmt.api.indexdim;

import lombok.Data;


@Data
public class IndexDimRep<T> {

    //返回数据
    private T data;
    //返回码
    private int code;
    //返回消息
    private String msg;

    public IndexDimRep(T data, int code, String msg) {
        this.data = data;
        this.code = code;
        this.msg = msg;
    }

    public IndexDimRep(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
